package com.winning.pmph.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;
import java.util.List;

@Data
@Table(name = "RULE")
public class Rule  extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** ID */
	@TableId
	private String id;

	/**
	 * 规则属性名称
	 */
	private String name;

	/**
	 * 类型  single  单选   multi 多选
	 */
	private String type;

	@TableField(exist = false)
	private List<RuleItem> ruleItemList;
}
